<!DOCTYPE html>
<html data-ng-app="myApp">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>右树左表单</title>    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="../../lib/bootstrap/css/bootstrap.min.css">
    <!--zTree-->
    <link rel="stylesheet" href="../../lib/zTree/css/zTreeStyle/zTreeStyle.css">
    <!--公共样式-->
    <link rel="stylesheet" href="../../themes/common/css/common.css"/>
    <!--自定义bootstrap样式-->
    <link rel="stylesheet" href="../../themes/one.bootstrap/one.bootstrap.css">
    <!--自定义zTree样式-->
    <link rel="stylesheet" href="../../themes/zTree/one.ztree.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="../../lib/bootstrap/js/html5shiv.min.js"></script>
    <script src="../../lib/bootstrap/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="one-wrapper">
    <!--顶部导航开始-->
    <header class="one-top-bar">
        <!--图标-->
        <a href="#" class="one-logo">
            <img src="../../images/logo.png" width="200px"/>
        </a>
        <!--导航-->
        <nav class="one-navbar">
            <!--切换按钮-->
            <a href="#" class="one-sidebar-toggle">
                <span class="one-icon-bar"></span>
                <span class="one-icon-bar"></span>
                <span class="one-icon-bar"></span>
            </a>
            <!--导航内容-->
            <ul class="one-navbar-right">
                <!--修改密码-->
                <li class="pwd">
                    <a href="#">
                        <i class="glyphicon glyphicon-user"></i>
                    </a>
                </li>
                <!--退出按钮-->
                <li class="quit">
                    <a href="#">
                        退出
                    </a>
                </li>
                <!--设置按钮-->
                <li><a href="#" class="glyphicon glyphicon-cog"></a></li>
            </ul>
        </nav>
    </header>
    <!--顶部导航结束-->
    <!--侧边栏开始-->
    <aside id="sidebar" class="one-sidebar">
        <ul class="one-sidebar-menu">
            <li class="one-header text-center"><img src="../../images/mune.png" alt=""></li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/JurisdictionIcon.png" alt=""><span>权限管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open active"/>
                <ul class="one-treeview-menu one-menu-open" style="display: block">
                    <li  ng-click="jump('/account')" class="active">
                        <a href="#" class="active">账户管理</a>
                    </li>
                    <li ng-click="jump('/menuManager')">
                        <a href="#">菜单管理</a>
                    </li>
                    <li ng-click="jump('/character')">
                        <a href="#">角色管理</a>
                    </li>
                    <li ng-click="jump('/privilege')">
                        <a href="#">权限配置</a>
                    </li>
                    <li ng-click="jump('/resource')">
                        <a href="#">资源</a>
                    </li>
                    <li ng-click="jump('/theme')">
                        <a href="#">主题</a>
                    </li>
                    <li ng-click="jump('/portal')">
                        <a href="#">门户</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/JournalIcon.png" alt=""><span>日志管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li>
                        <!--三级菜单开始-->
                        <a href="#" class="one-open-tree">登录日志</a>
                        <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                        <ul class="one-treeview-menu one-menu-open">
                            <li>
                                <a href="#">登录日志</a>
                            </li>
                            <li>
                                <a href="#">操作日志</a>
                            </li>
                            <li>
                                <a href="#">异常日志</a>
                            </li>
                        </ul>
                        <!--三级菜单结束-->
                    </li>
                    <li>
                        <a href="#">操作日志</a>
                    </li>
                    <li>
                        <a href="#">异常日志</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/peopleIcon.png" alt=""><span>用户管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li ng-click="jump('/customer')">
                        <a href="#">用户</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/adminIcon.png" alt=""><span>组织管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li ng-click="jump('/adminDivision')">
                        <a href="#">行政区划</a>
                    </li>
                    <li ng-click="jump('/government')">
                        <a href="#">政府机构</a>
                    </li>
                    <li ng-click="jump('/company')">
                        <a href="#">企业</a>
                    </li>
                    <li ng-click="jump('/section')">
                        <a href="#">部门</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#" class="one-open-tree"><img src="../../images/siteIcon.png" alt=""><span>站点管理</span></a>
                <img src="../../images/treeOpen.png" alt="" class="one-treeview-menu-open"/>
                <ul class="one-treeview-menu one-menu-open">
                    <li ng-click="jump('/site')">
                        <a href="#">站点</a>
                    </li>
                    <li ng-click="jump('/siteType')">
                        <a href="#">站点类型</a>
                    </li>
                </ul>
            </li>
        </ul>
    </aside>
    <!--侧边栏结束-->
    <!--局部刷新页面所在位置开始-->
    <div class="one-content-wrapper">
        <section class="one-content-header">
            <h3 class="one-content-type">
                <i></i> 右树左表单
            </h3>
            <ol class="one-breadcrumb">
                <li><a href="#">首页</a></li>
                <li><a href="#">权限系统</a></li>
                <li class="active">右树左表单</li>
            </ol>
        </section>
        <section class="one-content one-min-height">
          <form action="#" method="post" class="form form-horizontal">
            <div class="one-form-header"></div>
            <div class="one-form-body">
              <div class="row">
                <div class="col-lg-8 col-lg-push-2">
                  <div class="row">
                    <div class="col-sm-4 col-sm-push-8">
                      <ul id="zTree" class="ztree"></ul>
                    </div>
                    <div class="col-sm-8 col-sm-pull-4">
                      <div class="form-group">
                        <label for="account_add_account" class="col-sm-3 control-label">账户名:</label>
                        <div class="col-sm-9">
                          <input type="text" class="form-control one-msg-error" placeholder="帐号" id="account_add_account" name="accountName">
                          <div class="one-info-text one-info-error">
                            <span>账号不能为空</span>
                          </div>
                        </div>
                      </div>
                      <div class="form-group">
                        <label for="account_add_pwd" class="col-sm-3 control-label">密码:</label>
                        <div class="col-sm-9">
                          <input type="password" class="form-control one-msg-succ" placeholder="密码" id="account_add_pwd" name="password">
                          <div class="one-info-text one-info-success">
                            <span>请输入密码</span>
                          </div>
                        </div>
                      </div>
                      <div class="form-group">
                        <label for="account_add_repwd" class="col-sm-3 control-label"  >确认密码:</label>
                        <div class="col-sm-9">
                          <input type="password" class="form-control" placeholder="确认密码" id="account_add_repwd">
                        </div>
                      </div>
                      <div class="row">
                        <label class="col-sm-3 control-label"  >启用:</label>
                        <div class="col-sm-9">
                          <div class="row">
                            <div class="col-xs-4">
                              <input type="radio" name="isEnable" id="account_add_used"  value="1">
                              <label for="account_add_used">
                                启用
                              </label>
                            </div>
                            <div class="col-xs-4">
                              <input type="radio" name="isEnable" id="account_add_unused" checked  value="0">
                              <label for="account_add_unused">
                                禁用
                              </label>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="row">
                        <label class="col-sm-3 control-label"  >审核:</label>
                        <div class="col-sm-9">
                          <div class="row">
                            <div class="col-xs-4">
                              <div>
                                <input type="radio" name="isAudit" id="account_add_check" value="1">
                                <label for="account_add_check">
                                  审核
                                </label>
                              </div>
                            </div>
                            <div class="col-xs-4">
                              <input type="radio" name="isAudit" id="account_add_uncheck" checked value="0">
                              <label for="account_add_uncheck">
                                未审核
                              </label>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="row">
                        <label class="col-sm-3 control-label"  >PC端登陆:</label>
                        <div class="col-sm-9">
                          <div class="row">
                            <div class="col-xs-4">
                              <div>
                                <input type="radio" name="isAllowPc" id="account_add_PC" value="1">
                                <label for="account_add_PC">
                                  允许
                                </label>
                              </div>
                            </div>
                            <div class="col-xs-4">
                              <input type="radio" name="isAllowPc" id="account_add_unPC" checked value="0">
                              <label for="account_add_unPC">
                                禁止
                              </label>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="row">
                        <label class="col-sm-3 control-label">移动端登录:</label>
                        <div class="col-sm-9">
                          <div class="row">
                            <div class="col-xs-4">
                              <div>
                                <input type="radio" name="isAllowApp" id="account_add_App" value="1">
                                <label for="account_add_App">
                                  允许
                                </label>
                              </div>
                            </div>
                            <div class="col-xs-4">
                              <input type="radio" name="isAllowApp" id="account_add_unApp" checked value="0">
                              <label for="account_add_unApp">
                                禁止
                              </label>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="one-form-footer">
              <div class="row">
                <div class="col-sm-11 col-md-10">
                  <div class="pull-right">
                    <button class="btn btn-default">取消</button>
                    <button class="btn btn-success">确定</button>
                  </div>
                </div>
              </div>
            </div>
          </form>
        </section>
    </div>
    <!--局部刷新页面所在位置结束-->

</div>
<!-- jQuery 2.2.3 -->
<script src="../../lib/jQuery/jquery-2.2.3.min.js"></script>
<!--zTree-->
<script src="../../lib/zTree/js/jquery.ztree.all-3.5.min.js"></script>
<script src="../../js/one.sidebar.toggle.click/one.sidebar.toggle.click.js"></script>
<script>
    var setting = {	};

    var zNodes =[
        { name:"菜单", open:true,
            children: [
                { name:"权限管理",
                    children: [
                        { name:"账号管理"},
                        { name:"用户管理"},
                        { name:"菜单管理"},
                        { name:"角色管理"}
                    ]
                },
                { name:"外观管理",
                    children: [
                        { name:"主题"},
                        { name:"布局"},
                        { name:"皮肤"}
                    ]
                },
                { name:"无人机数据", isParent:true}
            ]},
        { name:"资源",
            children: [
                { name:"图片", open:true,
                    children: [
                        { name:"icon"},
                        { name:"zTree"},
                        { name:"页面"},
                        { name:"表单"}
                    ]
                },
                { name:"郑州",
                    children: [
                        { name:"区域"},
                        { name:"行政规划"},
                        { name:"小型站"},
                        { name:"国控站"}
                    ]
                },
                { name:"样式",
                    children: [
                        { name:"表单"},
                        { name:"zTree"},
                        { name:"公共"},
                        { name:"组件"}
                    ]
                }
            ]
        }
    ];

    $.fn.zTree.init($("#zTree"), setting, zNodes);
</script>
</body>
</html>
